package com.molichuxing.gateway.api.services;


import com.molichuxing.framework.dto.Paged;
import com.molichuxing.framework.result.ResponseResult;
import com.molichuxing.gateway.bff.financial.entity.request.create.InvoiceCreateVo;
import com.molichuxing.gateway.bff.financial.entity.response.ContractVo;
import com.molichuxing.gateway.bff.financial.entity.response.ConvertSendEmailVo;
import com.molichuxing.gateway.bff.financial.entity.response.InvoiceVo;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

/**
 * 财务相关接口
 *
 * @author zhaopenghui
 * @date 2019年8月27日
 */
public interface FinancialApiService {


    /**
     * 发票列表
     *
     * @param map
     * @return
     */
    public ResponseResult<List<InvoiceVo>> getInvoicePage(Map<String, Object> map);

    /**
     * 发票添加
     *
     * @param invoiceCreateVo
     * @return
     */
    public ResponseResult<Boolean> createInvoice(InvoiceCreateVo invoiceCreateVo);

    /**
     * 合同列表
     *
     * @param orderCode
     * @return
     */
    public ResponseResult<List<ContractVo>> getContractList(Long orderCode);

    /**
     * 发送邮件
     *
     * @param convertSendEmailVo
     * @return
     */
    public ResponseResult<Boolean> sendEmailAttachments(ConvertSendEmailVo convertSendEmailVo);

}
